package com.easybuy.service.impl;


import com.easybuy.dao.impl.UserAddressDaoImpl;
import com.easybuy.entity.UserAddress;
import com.easybuy.service.UserAddressService;

import java.util.List;

public class UserAddressServiceImpl implements UserAddressService {

	public List<UserAddress> getAddresses(int userId) {
		return new UserAddressDaoImpl().getUserAddresses(userId);
	}

	public int changeDefault(int isDefault) {
		return isDefault;
		
	}

}
